package ooday02;

public class Chick extends Animal {

   Chick(String name,int age,String color){
        super(name,age,color);

    }

    void  eggs(){
        System.out.println(age+"岁的"+color+"颜色的"+"小鸡会下蛋");
    }
    void eat(){

        System.out.println("小坤正在吃小米");
    }

}
